import router from './routers'
import NProgress from 'nprogress'
import 'nprogress/nprogress.css'
import { getSameArray } from '@/common/util.js' //获取两个数组相同的值
import Cookie from '@/common/cookie.js' //获取两个数组相同的值

NProgress.configure({ showSpinner: false }) //禁用进度环

router.beforeEach((to, from, next) => {
    // NProgress.start();
    next();
}) 

router.afterEach(() => {
    // NProgress.done();
})
